package com.changy.ai_tutor_for_dm.mapper;

import com.changy.ai_tutor_for_dm.entity.QuestionsSingle;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface QuestionsSingleMapper {

    @Insert("INSERT INTO questions_single (question_id, options, correct_option, analysis) " +
            "VALUES (#{questionId}, #{options}, #{correctOption}, #{analysis})")
    void insert(QuestionsSingle questionsSingle);

}
